import Mock from 'mockjs';
import {loginData,logout} from "./data/login"
import {departmentList,noticeList,orderInfo} from './data/implement'

import {taskList, wrongList,taskInfo,wrongInfo,getLeaderList,getStaffList,markReply} from './data/maintainence'

import {equipmentInfo,equipmentSubmit} from './data/equipment'

import {reportListData,paperReportListData,reportInfo,paperReportInfo,receiverList,submitReportInfo,submitPaperReportInfo} from './data/report'

// Ajax请求延时，
 Mock.setup({
    timeout:300
 })

Mock.mock(/login/,loginData);
Mock.mock(/logout/,logout);

Mock.mock(/department_list/,departmentList);
Mock.mock(/notice_list/,noticeList);
Mock.mock(/order_info/,orderInfo);

Mock.mock(/task_list/,taskList);
Mock.mock(/task_Info/,taskInfo);
Mock.mock(/wrong_Info/,wrongInfo);
Mock.mock(/wrong_list/,wrongList);

Mock.mock(/task_mark/,markReply);
Mock.mock(/leader_list/,getLeaderList);
Mock.mock(/staff_list/,getStaffList);

Mock.mock(/equipment_info/,equipmentInfo);
Mock.mock(/equipment_submit/,equipmentSubmit);

Mock.mock(/report_list/,reportListData);
Mock.mock(/report_paper_list/,paperReportListData);
Mock.mock(/report_info/,reportInfo);
Mock.mock(/paper_report_info/,paperReportInfo);
Mock.mock(/submit_reportInfo/,submitReportInfo);
Mock.mock(/receiver_list/,receiverList);
Mock.mock(/report_paperReport_list/,submitPaperReportInfo);




